(function () {
    const eye = document.querySelector("#no-see");
    const pwd = document.querySelector("input[type='password']");
    let target = 0;
    eye.onclick = function () {
        if (target === 0) {
            eye.className = "fa fa-eye";
            pwd.type = 'text';
            target = 1;
        } else {
            eye.className = "fa fa-eye-slash";
            pwd.type = 'password';
            target = 0;
        }
    }
}(window, document))

function upVerification(path) {
    document.querySelector("#codeImg").src = path + "/verification?" + new Date();
}